package com.xd.user.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xd.user.mapper.DepartmentHeaderMapper;
import com.xd.user.api.entity.DepartmentHeader;
import com.xd.user.service.DepartmentHeaderService;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;

/**
 * 部门负责人(DepartmentHeader)表服务实现类
 *
 * @author hbx
 * @since 2020-06-28 12:37:15
 */
@Service("departmentHeaderService")
public class DepartmentHeaderServiceImpl extends ServiceImpl<DepartmentHeaderMapper, DepartmentHeader> implements DepartmentHeaderService {

    @Resource
    private DepartmentHeaderMapper DepartmentHeaderMapper;

    @Override
    public List<String> listByDepartmentId(String departmentId, Integer headerType) {
        return DepartmentHeaderMapper.listByDepartmentId(departmentId,headerType);
    }
}
